import { get, post } from '@/api/utils';

export default {
  login: post('/mock/login', {
    ignoreGlobalParams: true,
  }),
  getVerifyCode: get('/mock/getVerifyCode', {
    ignoreGlobalParams: true,
  }),
  logout: post(`/mock/logout`, {
    ignoreGlobalParams: true,
  }),
  register: post(`/mock/register`, {
    ignoreGlobalParams: true,
  }),
  getUserInfo: get(`/mock/getUserInfo`, {
    ignoreGlobalParams: true,
  }),
  getQiNiuToken: get(`/mock/getQiniuToken`),
};
